/**
 * @filename OutStoreInfo.java
 * @author 冯琪
 * @date 2017年12月4日 下午10:15:15
 * @version 1.0
 * Copyright (C) 2017 冯琪
 */
package com.wk.warehouse.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 出库单
 */
public class OutStore {

	/**
	 * 出库编号
	 */
	private Integer outsId;
	/**
	 * 商品id
	 */
	private Integer productId;
	/**
	 * 仓库id
	 */
	private Integer storeId;
	/**
	 * 理货员id
	 */
	private Integer tallyId;
	/**
	 * 出库价格
	 */
	private BigDecimal outPrice;
	/**
	 * 出库数量
	 */
	private Integer outNum;
	/**
	 * 创建人id
	 */
	private Integer createBy;
	/**
	 * 创建人
	 */
	private String userCode;
	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 * 是否出库 0未出库 1已出库
	 */
	private Integer isOut;
	/**
	 * 理货员名称
	 */
	private String tallyCode;
	/**
	 * 仓库名称
	 */
	private String storeName;
	/**
	 * 商品名称
	 */
	private String productName;
	/**
	 * 搜索开始时间
	 */
	private String startTime;
	/**
	 * 搜索结束时间
	 */
	private String endTime;
	private Integer productInvent;

	public Integer getOutsId() {
		return outsId;
	}

	public void setOutsId(Integer outsId) {
		this.outsId = outsId;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getStoreId() {
		return storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public Integer getTallyId() {
		return tallyId;
	}

	public void setTallyId(Integer tallyId) {
		this.tallyId = tallyId;
	}

	public BigDecimal getOutPrice() {
		return outPrice;
	}

	public void setOutPrice(BigDecimal outPrice) {
		this.outPrice = outPrice;
	}

	public Integer getOutNum() {
		return outNum;
	}

	public void setOutNum(Integer outNum) {
		this.outNum = outNum;
	}

	public Integer getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getIsOut() {
		return isOut;
	}

	public void setIsOut(Integer isOut) {
		this.isOut = isOut;
	}

	public String getTallyCode() {
		return tallyCode;
	}

	public void setTallyCode(String tallyCode) {
		this.tallyCode = tallyCode;
	}

	public String getStoreName() {
		return storeName;
	}

	public void setStoreName(String storeName) {
		this.storeName = storeName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getProductInvent() {
		return productInvent;
	}

	public void setProductInvent(Integer productInvent) {
		this.productInvent = productInvent;
	}

	@Override
	public String toString() {
		return "OutStore{" +
				"outsId=" + outsId +
				", productId=" + productId +
				", storeId=" + storeId +
				", tallyId=" + tallyId +
				", outPrice=" + outPrice +
				", outNum=" + outNum +
				", createBy=" + createBy +
				", userCode=" + userCode +
				", createTime=" + createTime +
				", isOut=" + isOut +
				", tallyCode='" + tallyCode + '\'' +
				", storeName='" + storeName + '\'' +
				", productName='" + productName + '\'' +
				", startTime='" + startTime + '\'' +
				", endTime='" + endTime + '\'' +
				", productInvent=" + productInvent +
				'}';
	}
}

